package com.artic.base.resourceloader;

// ----------------------------------------------------------------------------
/**
 * The interface implemented by any classloader selection Strategy used with
 * {@link ClassLoaderResolver} API.
 * 
 * @see DefaultClassLoadStrategy
 * 
 * @author aczarnik
 */
public interface IClassLoadStrategy {

	/**
	 * Selects a classloader based on a given load context.
	 * 
	 * @see ClassLoaderResolver#getClassLoader()
	 */
	ClassLoader getClassLoader(ClassLoadContext ctx);

} 